package com.ruoyi.project.h265;

import cn.hutool.core.io.FileUtil;
import org.apache.commons.codec.binary.Hex;
import org.bytedeco.javacv.FFmpegFrameGrabber;
import org.bytedeco.javacv.Frame;

public class TestReaderForH265 {
    public static void main(String[] args) throws Exception {
        String h265Hex = Hex.encodeHexString(FileUtil.readBytes("C:\\Users\\admin\\Desktop\\视频相机测试工具\\码流测试工具\\stream-0.h265")).toUpperCase();
        System.out.println(h265Hex);
        System.out.println((0x40 & 0x7E)>>1);
    }
}
